<script setup lang="ts">
const { t } = useI18n();
</script>

<template>
  <div style="text-align: center">
    {{ t('hello') }}, {{ t('hello1') }}, {{ $t('about') }}! {{ $t('demotxt') }}
  </div>
</template>

<style scoped lang="scss"></style>

<i18n>
{
  "en": {
    "hello1": "hello, world!"
  },
  "zh-CN": {
    "hello1": "你好，世界！"
  }
}
</i18n>
